package list.functions.exceptions;

/**
 *
 * Fully Tested: No
 * Fully Documented: No
 * Created: 12-Apr-2012
 * Last Updated: 12-Apr-2012
 *
 * Thrown when an operation expects two lists of the same size, but received
 * two lists of different sizes.
 * 
 * @author Shimu Wu
 */
public class DifferentListSizeException extends RuntimeException {

    public DifferentListSizeException(int list1Size, int list2Size) {
        super("Expected lists to be of the same size!\n"
                + "First list size: " + list1Size
                + " Second list size: " + list2Size);
    }
}
